package zhexian.app.smartcall.base;

/**
 * Created by hling on 2015/9/28.
 */
public class Const {
    // 与服务器通讯的地址
    // 获取通讯录信息
    public static final String URL_GET_CONTACT_LIST = "/api/u/%s/%s";
    // 上传头像。Form提交方式，包含username、password、avatar(二进制附件)三个表单元素
    public static final String URL_UPLOAD_AVATAR = "/api/avatar/upload";
    // 下载头像
    public static final String URL_GET_AVATAR = "/api/avatar/%s";
    // 检查版本更新
    public static final String URL_CHECK_VERSION = "/api/apk";
    // 下载APK
    public static final String URL_DOWNLOAD_APK = "/api/apk/download";

    public static final int UPLOAD_IN_PROCESS = 1;
    public static final int UPLOAD_INIT_PROCESS = 2;
    public static final int UPLOAD_FILE_DONE = 3;

    // 上传头像Bitmap的最大宽高像素值
    public static final int AVATAR_MAX_WIDTH = 200;
    public static final int AVATAR_MAX_HEIGHT = 200;
}
